package ro.ase.catalog.security.dao;

import ro.ase.catalog.beans.*;
import ro.ase.catalog.dao.IGenericDAO;


import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Ioana
 * Date: 5/14/14
 * Time: 12:10 AM
 * To change this template use File | Settings | File Templates.
 */
public interface ITeacherDisciplineClassDAO extends IGenericDAO<TeacherDisciplineClass, Integer> {
    public Teacher checkAssociation(String discipline, String cls);

    public Discipline findDisciplineByName(String discipline);

    public List<Discipline> getAllDisciplines();

    public List<TeacherDisciplineClass> getAllClassByTeacher(Teacher teacher);

    List<TeacherDisciplineClass> getAllDisciplinesByStudent(Student student);

    public TeacherDisciplineClass getByClassAndTeacher(Teacher teacher, SchoolClass schoolClass);
}
